home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / vms-pwd.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-01  |  1.1 KB  |  37 lines

  1. /* XEmacs password definition file.
  2.    Copyright (C) 1986 Free Software Foundation.
  3.  
  4. This file is part of XEmacs.
  5.  
  6. XEmacs is free software; you can redistribute it and/or modify it
  7. under the terms of the GNU General Public License as published by the
  8. Free Software Foundation; either version 2, or (at your option) any
  9. later version.
  10.  
  11. XEmacs is distributed in the hope that it will be useful, but WITHOUT
  12. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13. FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14. for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with XEmacs; see the file COPYING.  If not, write to the Free
  18. Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. /* Synched up with: FSF 19.28. */
  21.  
  22. #ifdef VMS
  23. /* On VMS, we read the UAF file and emulate some of the necessary
  24.    fields for Emacs. */
  25. #include "uaf.h"
  26.  
  27. struct passwd {
  28.   char pw_name[UAF$S_USERNAME+1];
  29.   char pw_passwd[UAF$S_PWD];
  30.   short pw_uid;
  31.   short pw_gid;
  32.   char pw_gecos[UAF$S_OWNER+1];
  33.   char pw_dir[UAF$S_DEFDEV+UAF$S_DEFDIR+1];
  34.   char pw_shell[UAF$S_DEFCLI+1];
  35. };
  36. #endif /* VMS */
  37.